package com.baizhi.dao;

import com.baizhi.entity.Guru;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GuruDao {
    public int insertGuru(Guru guru);
    /*假删，修改状态*/
    public int deleteGuruById(int guruId);
    public int updateGuru(Guru guru);
    public List<Guru> selectAllGuru(@Param("offset") int offset, @Param("limit") int limit);
    public int selectCount();
    public Guru selectOne(int guruId);
    public List<Guru> selectAll();

}
